﻿using System.ComponentModel;
using System.IO;
using ChiWalker.Utilities;
using Styx.Helpers;

namespace ChiWalker.Settings
{
    internal class MonkSettings : Styx.Helpers.Settings
    {
        public MonkSettings()
            : base(Path.Combine(ChiWalkerSettings.CharacterSettingsPath, "MonkSettings.xml"))
        {
        }

        [Setting]
        [Styx.Helpers.DefaultValue(true)]
        public bool Roll { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(50)]
        [Category("Brewmaster")]
        [Limit(0, 100)]
        public int ForifyingBrewHealth { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(75)]
        [Limit(0, 100)]
        public int ExpelHarmHealth { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(85)]
        [Limit(0, 100)]
        public int ElusiveBrewHealth { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(7)]
        [Limit(0, 100)]
        public int ElusiveBrewStacks { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(85)]
        [Limit(0, 100)]
        public int GuardHealth { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(true)]
        public bool UseOxStatue { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(true)]
        public bool UseDizzyingHaze { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(SpellUsage.LowHealth)]
        public SpellUsage InvokeXuen { get; set; }

        [Setting]
        [Styx.Helpers.DefaultValue(true)]
        public bool UseFlyingSerpentKick { get; set; }
    }
}